package com.saris.primego.service;

import com.saris.primego.pojo.vo.UploadFileVO;
import org.springframework.web.multipart.MultipartFile;

public interface CommonService {
    /**
     * 上传图片至本地
     * @param file 图片文件
     * @return UploadFileVO
     */
    public UploadFileVO uploadToLocal(MultipartFile file);
    /**
     * 上传图片至Nas-lsky图床
     * @param file 图片文件
     * @return UploadFileVO
     */
    public UploadFileVO uploadToRemote(MultipartFile file);
}
